package com.mcxx.modules.system.entity;

import com.mcxx.validate.group.Update;
import com.yinhai.ta404.core.validate.annotation.V;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
public class SalvationRuleEntity {
    @ApiModelProperty(value = "id")
    @V(value = {"notnull"}, groups = {Update.class})
    private String id;
    @ApiModelProperty(value = "")
    private String businessType;

    @ApiModelProperty(value = "业务代码")
    private String code;

    @ApiModelProperty(value = "规则名称")
    private String name;

    @ApiModelProperty(value = "中文公式")
    private String chineseFormula;

    @ApiModelProperty(value = "实际公式")
    private String activeFormula;

    @ApiModelProperty(value = "规则类型")
    private String ruleType;

    @ApiModelProperty(value = "0就高；1平行累加")
    private String relationshipType;

    @ApiModelProperty(value = "救助目标，0个人，1家庭")
    private String salvationTarget;

    @ApiModelProperty(value = "状态 1 启用，2 未启用，3 冻结，4 注销")
    private String status;
    @ApiModelProperty(value = "")
    private Date createTime;
    @ApiModelProperty(value = "")
    private String createBy;

    @ApiModelProperty(value = "说明")
    private String desciption;

    @ApiModelProperty(value = "所属机构ID-社会救助系统")
    private String orgId;

    @ApiModelProperty(value = "所属机构ID-银海")
    private String taOrgId;
    @ApiModelProperty(value = "")
    private String csModify;
    @ApiModelProperty(value = "")
    private Date csModifytime;
    @ApiModelProperty(value = "救助类型")
    private String saveType;
}
